package com.whjfxx.terminal.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.whjfxx.terminal.entity.PoApp;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;

/**
 * Created by b.c on 2022/4/14 10:22
 */
@Repository
public interface PoAppMapper extends BaseMapper<PoApp> {

    /**
     * 根据appName查询
     * @param appName
     * @return
     */
    PoApp selectByAppName(@Param("appName") String appName);

    /**
     * 删除
     * @param id
     */
    void logicDelete(@Param("id") Long id, @Param("deleteTime") LocalDateTime deleteTime);
}
